// https://es6.ruanyifeng.com/#docs/string-methods
// 实例方法：includes(), startsWith(), endsWith(), repeat()
let s = 'Hello world!'

console.log(
  s.startsWith('Hello'), // true
  s.endsWith('!'),
  s.includes('o'),
  s.repeat(2),
)
